﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LoginUI.ascx.cs" Inherits="eStore.UserControl.LoginUI" %>
<link href="../Styles/UserControl.css" rel="stylesheet" type="text/css" />
<div class="divLogin">
    <h2 id="h2HeaderLogin" runat="server" class="h2Login">
    </h2>
    <p id="pLoginInfo" runat="server" class="pLogin">
    </p>
<%--    <div style="z-index: 1; left: 83px; top: 98px; position: absolute; height: 74px; width: 561px">
        <asp:ValidationSummary ID="ValidationSummaryLogin" runat="server" 
            ForeColor="Red" HeaderText="Lỗi Đăng Nhập" Width="462px" />
    </div>--%>
    <fieldset class="AccountFieldsetLogin">
        <legend id="LegendLogin" runat="server"></legend>
        <div style="z-index: 1; left: 0px; top: 28px; position: absolute; height: 19px; width: 591px">
            <asp:Label ID="LabelUserName" runat="server" Style="z-index: 1; left: 15px; top: 0px;
                position: absolute" Text="Tên Đăng Nhập (*)"></asp:Label>
            <asp:TextBox ID="TextBoxUserName" runat="server" Style="z-index: 1; left: 135px; top: 0px;
                position: absolute; width: 250px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidatorUserName" runat="server" 
                ControlToValidate="TextBoxUserName" ErrorMessage="Tên đăng nhập không bỏ trống" 
                ForeColor="Red" style="z-index: 1; left: 397px; top: 0px; position: absolute"></asp:RequiredFieldValidator>
        </div>
        <div style="z-index: 1; left: 0px; top: 71px; position: absolute; height: 19px; width: 588px">
            <asp:Label ID="LabelPassword" runat="server" Style="z-index: 1; left: 20px; top: 0px;
                position: absolute" Text="Mật Khẩu (*)"></asp:Label>
            <asp:TextBox ID="TextBoxPassword" runat="server" Style="z-index: 1; left: 135px; top: 0px;
                position: absolute; width: 250px" TextMode="Password"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidatorPassword" runat="server" 
                ControlToValidate="TextBoxPassword" ErrorMessage="Mật không không bỏ trống" 
                ForeColor="Red" style="z-index: 1; left: 400px; top: -1px; position: absolute"></asp:RequiredFieldValidator>
        </div>
    </fieldset>
    <div style="z-index: 1; left: 311px; top: 304px; position: absolute; height: 19px; width: 159px">
        <asp:Button ID="ButtonLogin" runat="server" Text="Đăng Nhập" 
            onclick="ButtonLogin_Click" />
    </div>
</div>
